package cn.bdqn.sp.mapper;


import cn.bdqn.sp.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.Past;
import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectUser(@Param("account") String account);

    List<SysUser> selectUsers(SysUser sysUser);

    SysUser selectUserByPwd(@Param("account") String account,@Param("password") String password);
}